package com.zengjianjun.oss.properties;


import com.zengjianjun.oss.enums.OssPlatformEnum;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zengjianjun
 */
@Data
@Component
@ConfigurationProperties(prefix = "oss")
public class OssProperties {

    /**
     * 平台类型
     */
    private OssPlatformEnum type;

    /**
     * 阿里云配置信息
     */
    private AliYunOssProperties aliyun;
}
